package com.hd.entity.sys;


import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * <p>
 *     职位
 * </p>
 * Created by hzhh123 on 2018/3/16.
 */
@Entity
@Table(name = "sys_position")
public class Position implements Serializable {
    private static final long serialVersionUID = 4450357792973388052L;
    @Id
    private String id;
    /**
     * 职位
     */
    private String name;
    /**
     * 上级职位ID
     */
    private String pid;
    /**
     * 上级职位
     */
    @Transient
    private String pName;
    /**
     * 排序
     */
    private Integer seq;
    /**
     * 图标
     */
    private String iconCls;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public Integer getSeq() {
        return seq;
    }

    public void setSeq(Integer seq) {
        this.seq = seq;
    }

    public String getpName() {
        return pName;
    }

    public void setpName(String pName) {
        this.pName = pName;
    }

    public String getIconCls() {
        return iconCls;
    }

    public void setIconCls(String iconCls) {
        this.iconCls = iconCls;
    }

}
